.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;

    @media (min-width: 850px) {
        /*margin-left: 20px;*/
        /*margin: auto;*/
        /*text-align: center;*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .sidebar {
        @media (min-width: 850px) {
            display: none;
        }

        width: 10rem;
        height: 100vh;
        /*flex: 1;*/
        position: sticky;
        border-right: 1px solid gray;
        margin-right: 1rem;


        .sidebar-logo-container {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            margin-top: 1rem;
            /*margin-bottom: 1.3rem;*/
            padding-bottom: 1.3rem;
            border-bottom: 1px solid gray;

            .sidebar-logo {
                margin: auto;
                border-radius: 50%;
                width: 5rem;
                height: 5rem;
            }
        }

        .sidebar-list {
            /*border: 1px solid green;*/
            width: 5rem;
            height: 100%;
            list-style: none;
            cursor: pointer;
            text-align: center;
            /*display: flex;*/
            /*flex-direction: column;*/
            /*align-items: center;*/
            /*width: 100%;*/

            a, li {
                /*width: 5rem;*/
                /*border: 1px solid red;*/
            }
        }
    }

    /*index page*/

    .type-container {

        .dir-container {

            @media (min-width: 850px) {
                /*margin-left: 20px;*/
                margin: auto;
                text-align: center;
            }

            width: 100%;
            height: 7rem;
            border-bottom: 1px solid gray;
            margin-bottom: 2rem;

            .dir-input {
                width: 80%;
                @media (min-width: 850px) {
                    width: 30%;
                }
                padding: 0.5rem;
                border-radius: 0.3rem;
            }
        }

        @media (min-width: 850px) {
            margin-left: 20px;
        }

        width: 80%;

        .type-card-container {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 2rem;

            .type-card {
                cursor: pointer;

                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 1.3rem;

                border-radius: 20px;
                border: 3px solid gray;
                box-shadow: 6px 4px 1px black;

                &:active {
                    box-shadow: 0 0 0 white;
                }

                &:hover {
                    scale: calc(1.1);
                    transition: all 0.3s;
                    box-shadow: 7px 5px 3px black;
                }

                width: 8rem;
                height: 8rem;

                img {
                    width: 3rem;
                    height: 3rem;
                }
            }
        }

    }

    /*create-from-page*/

    .create-form-page-container {
        width: 80%;
        @media (min-width: 850px) {
            width: 100%;
        }
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.3rem;
        margin-bottom: 1rem;

        input {
            /*width: 50%;*/
            width: 12rem;
            @media (min-width: 850px) {
                width: 20rem;
            }
            padding: 0.4rem;
            border-radius: 6px;
        }

        .create-image-container {
            .active {
                background: gainsboro;
            }

            img {
                border-radius: 8px;
                margin-right: 2px;
                cursor: pointer;
                padding: .3rem;
                width: 3rem;
                height: 3rem;
            }
        }

        .btn-create-submit {
            width: 14rem;
            font-size: 16px;
            padding: 0.4rem;
            background: coral;
            border: none;
            border-radius: 6px;
        }
    }

}

a {
    text-decoration: none;
}

.back-btn{
    position: fixed;
    z-index: 999;
    left: 1rem;
    top: 1rem;
    cursor: pointer;
    @media (max-width: 850px) {
        display: none;
    }
}